package com.zq.多线程设计模式.workerThread设计模式;

public class Production extends InstuctionBook{

    // 产品编号
    private final int prodID;

    public Production(int prodID) {
        this.prodID = prodID;
    }


    @Override
    protected void firstProcess() {
        System.out.println("execute the " + prodID + "firstProcess");
    }

    @Override
    protected void secondProcess() {
        System.out.println("execute the " + prodID + "secondProcess");
    }
}
